<?php echo $this->Html->script('Events/event_list');?>

<div class='span12'>
	<h1><?php echo $this->Html->link($title, '/') ?></h1>
	<ul class="nav nav-tabs">
	  <?php $first = true; ?>
	  <?php foreach($types as $t): 
	      {
		echo '<li><a onClick="getEvents(\''.$t['EventsType']['id'].'\', \''.$t['EventsType']['id'].'\')">';
		echo utf8_decode($t['EventsType']['name']).'</a></li>';
	      }
	  endforeach;
	  ?>
	</ul>
	<div id="event_data_response">
	  
	</div>
</div>